package com.achilles.utils;

import android.graphics.Color;

/**
 * Created by AchillesL on 2016/10/1.
 */

public class ColorUtils {
    public static int int2Color(int colorValue) {
        int red = (colorValue & 0xff0000) >> 16;
        int green = (colorValue & 0x00ff00) >> 8;
        int blue = (colorValue & 0x0000ff);

        return Color.rgb(red, green, blue);
    }
}
